The SimpleMenu Component > FSimpleMenu.getPadding()

 

FSimpleMenu.getPadding()

Availability

Flash Player 6.

Usage

sm_instance.getPadding()

Parameters

None.

Returns

The number of pixels between each item on the SimpleMenu.

Description

Retrieves the pixel width between each item on the SimpleMenu component.

Example

The following code increases the padding size by one:

sm.setPadding(sm.getPadding()++);

See also

FSimpleMenu.setPadding